#ifndef CONTROLVIEW_H
#define CONTROLVIEW_H

#include <QFrame>
#include <QGroupBox>
#include <QPushButton>
#include "abstractview.h"

namespace views {
    class ControlView: public AbstractView
    {
        Q_OBJECT

    public:
        ControlView();
        virtual ~ControlView();
        void    initUI();
        void    setupUI();
        void    setViewName(const QString& name);

    signals:
        void takeReference();
        void recordVideo();
        void takeSnapshot();
        void recognizeObject();

    public slots:
        void emitTakeReference();
        void emitRecordVideo();
        void emitTakeSnapshot();
        void emitRecognizeObject();

    private:
        QFrame      *_mainFBox;
        QPushButton *_btnTakeReference;
        QPushButton *_btnRecordVideo;
        QPushButton *_btnTakeSnapshot;
        QPushButton *_btnRecognizeObject;
    };
}

#endif // CONTROLVIEW_H
